/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package alcatelparser.tags;

import alcatelparser.modules.BuilderFactory;
import alcatelparser.modules.Env;
import alcatelparser.modules.I;

/**
 *
 * @author geniuz
 */
public class ServiceUserTag extends DefaultParserTag
{

    public ServiceUserTag()
    {
    }

    public final void parseTag(int ai[], int i)
    {
        _array = ai;
        setStandartLength(ai, i);
        /*
        int j = _array[i + 2];
        if(Env.getEnv().isFullForm())
        {
            String s = getTagIdentifyContent(i, i + 1);
            s = (new StringBuilder()).append(s).append(toHex(j)).append(I.I(5425)).append(getTagPropertiesValue((new StringBuilder()).append(I.I(6618)).append(j).toString())).toString();
            BuilderFactory.getBuilder().writeTagContent(3, 0, getTagPropertiesValue(I.I(1749)), s);
        } else
        if(isTagChecked(I.I(1737)))
        {
            String s1 = getReducedTagPropertiesValue(I.I(1749));
            if(Env.getEnv().isFieldsDecoding())
                BuilderFactory.getBuilder().writeTagContent(1, 0, s1, getReducedTagPropertiesValue((new StringBuilder()).append(I.I(6618)).append(j).toString()));
            else
                BuilderFactory.getBuilder().writeTagContent(1, 0, s1, toHex(j));
        }*/
    }

    public final String getParseIdentityTag()
    {
        return I.I(6931);
    }

    public final boolean isTagRequired()
    {
        return true;
    }
}
